#include <REGX52.H>
#include "Delay.h"
#include "UART.h"


//unsigned char Byte;


unsigned int sec;

void main()
{
	UART_Init();//初始化
	
	while(1)
	{
		UART_SendByte(sec);
		sec++;
		Delay(1000);//每秒加一
		
	}

}

